package com.splunk.hiring.imov.entity;

import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
@Access(AccessType.FIELD)
public class MovieInfo {
	
	@Column(name="f_rate_count")
	Integer rateCount;
	
	@Column(name="f_average_rate")
	Float averageRate;
	
	public Integer getRateCount() {
		return rateCount;
	}
	public void setRateCount(Integer rateCount) {
		this.rateCount = rateCount;
	}
	public Float getAverageRate() {
		return averageRate;
	}
	public void setAverageRate(Float averageRate) {
		this.averageRate = averageRate;
	}
}
